package com.yx.system.dao;

import com.yx.system.entity.demo;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface demoMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(demo record);

    int insertSelective(demo record);

    demo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(demo record);

    int updateByPrimaryKey(demo record);

    demo queryByName(String name);
}